package com.ruoyi.system.domain;

import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收款方式设置对象 payment_method_settings
 *
 * @author ruoyi
 * @date 2025-05-12
 */
@ApiModel("收款方式设置对象")
public class PaymentMethodSettings extends AbdulBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自增 */
    @ApiModelProperty("主键，自增")
    private Long id;

    /** 门店名称 */
    @Excel(name = "门店名称")
    @ApiModelProperty("门店名称")
    private String storeName;

    /** 门店编号 */
    @Excel(name = "门店编号")
    @ApiModelProperty("门店编号")
    private String storeNumber;

    /** 收款方式代码，用于唯一标识收款方式 */
    @Excel(name = "收款方式代码，用于唯一标识收款方式")
    @ApiModelProperty("收款方式代码，用于唯一标识收款方式")
    private String paymentMethodCode;

    /** 排序，用于在列表中显示收款方式的顺序 */
    @Excel(name = "排序，用于在列表中显示收款方式的顺序")
    @ApiModelProperty("排序，用于在列表中显示收款方式的顺序")
    private Long sortOrder;

    /** 收款方式名称 */
    @Excel(name = "收款方式名称")
    @ApiModelProperty("收款方式名称")
    private String paymentMethodName;

    /** 是否启用该收款方式 */
    @Excel(name = "是否启用该收款方式")
    @ApiModelProperty("是否启用该收款方式")
    private Integer isEnabled;

    /** 是否为默认收款方式 */
    @Excel(name = "是否为默认收款方式")
    @ApiModelProperty("是否为默认收款方式")
    private Integer isDefault;

    /** 备注，用于存储额外的说明信息 */
    @Excel(name = "备注，用于存储额外的说明信息")
    @ApiModelProperty("备注，用于存储额外的说明信息")
    private String remarks;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty("手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }

    public void setStoreNumber(String storeNumber)
    {
        this.storeNumber = storeNumber;
    }

    public String getStoreNumber()
    {
        return storeNumber;
    }

    public void setPaymentMethodCode(String paymentMethodCode)
    {
        this.paymentMethodCode = paymentMethodCode;
    }

    public String getPaymentMethodCode()
    {
        return paymentMethodCode;
    }

    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder()
    {
        return sortOrder;
    }

    public void setPaymentMethodName(String paymentMethodName)
    {
        this.paymentMethodName = paymentMethodName;
    }

    public String getPaymentMethodName()
    {
        return paymentMethodName;
    }

    public void setIsEnabled(Integer isEnabled)
    {
        this.isEnabled = isEnabled;
    }

    public Integer getIsEnabled()
    {
        return isEnabled;
    }

    public void setIsDefault(Integer isDefault)
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault()
    {
        return isDefault;
    }

    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("storeName", getStoreName())
                .append("storeNumber", getStoreNumber())
                .append("paymentMethodCode", getPaymentMethodCode())
                .append("sortOrder", getSortOrder())
                .append("paymentMethodName", getPaymentMethodName())
                .append("isEnabled", getIsEnabled())
                .append("isDefault", getIsDefault())
                .append("remarks", getRemarks())
                .append("phone", getPhone())
                .toString();
    }
}
